function xmlHttppinpai(Url,xmlBack){
	var xObjpinpai=null;
	try{
		xObjpinpai=new ActiveXObject("MSXML2.XMLHTTP")
	}
	catch(epinpai){
		try{
			xObjpinpai=new ActiveXObject("Microsoft.XMLHTTP")
		}
		catch(e2){
			try{
				xObjpinpai=new XMLHttpRequest()
			}
			catch(epinpai){
			}
		}
	};
	with(xObjpinpai){
		open("get",Url, true);
		onreadystatechange=function(){
			if(readyState==4&&status==200){
				xmlBack(responseText)
			}
		};
		setRequestHeader("If-Modified-Since","0");
		setRequestHeader("Cache-Control","no-cache");
		send(null);
	}
}


function gpinpai(id){
	return document.getElementById(id);
}
function getinpinpai(hotelid,roomtypeid,cmd1,oud1,fangjian,hoteltype,yudingcode){

	o1pinpai=gpinpai('meirifangfei');

	xmlHttppinpai('pinpaipic.asp?hotelid='+hotelid+'&roomtypeid='+roomtypeid+'&comedate='+cmd1+'&outdate='+oud1+'&fangjian='+fangjian+'&hoteltype='+hoteltype+'&yudingcode='+yudingcode,inhtmlpinpai);

}
function inhtmlpinpai(epinpai){
	o1pinpai.innerHTML=epinpai;
}